package cn.yyx.staservice.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2023-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Component
public class TOrder implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;

    private String cname;

    private String sex;

    private String phone;

    private String itemName;

    /**
     * 项目编号  1 洗牙  2 补牙  3  纳米  4 全瓷
     */
    private Integer itemId;

    /**
     * 销售人员的编号
     */
    private String saleId;

    /**
     * 技术人员的编号
     */
    private String operatorId;

    /**
     * 订单日期
     */
    private Date orderDate;

    /**
     * 0 已经服务 1 服务中 2 交了定金 3 退款
     */
    private Integer orderStatus;

    private Integer delstatus;

    private BigDecimal orderPrice;

    /**
     * 备注
     */
    private String note;

    @TableField(exist = false)
    //销售名字
    private String  sname;

    @TableField(exist = false)
    //技术名字
    private String  operatorName;


}
